@import '../../../common/less/mixin.less';
@import '../../../common/less/base.less';
.bg-image(@url) {
    background-image: url("@{url}@2x.png");
    @media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
    	background-image: url("@{url}@3x.png");
    }
}

.seller {
    position: absolute;
    top: 177px;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    .seller-content {
        .overview {
            position: relative;
            padding: 18px 18px 12px;
            .title {
                font-weight: 700;
                font-size: 14px;
                line-height: 14px;
                color: rgb(7,17,27);
            }
            .desc {
                padding-bottom: 18px;
                margin-top: 8px;
                font-size: 0;
                .border-1px(rgba(7,17,27,.1));
                .star {
                    display: inline-block;
                    vertical-align: top;
                }
                .text {
                    display: inline-block;
                    vertical-align: top;
                    margin-left: 8px;
                    font-size: 10px;
                    line-height: 18px;
                    color: rgb(77,85,93);
                }
            }
            .remark {
                display: flex;
                justify-content: space-around;
                padding-top: 12px;
                .block  {
                    flex: 1;
                    padding: 6px 0;
                    text-align: center;
                    border-right: 1px solid rgba(7,17,27,.1);
                    &:last-child {
                        border: none;
                    }
                    .title {
                        display: block;
                        margin-bottom: 4px;
                        font-size: 10px;
                        line-height: 10px;
                        color: rgb(147,153,159);
                    }
                    .price {
                        font-size: 10px;
                        font-weight: 200;
                        color: rgb(7,17,27);
                        sub {
                            vertical-align: super;
                            line-height: 24px;
                            font-size: 24px;
                            font-weight: normal;
                        }
                    }
                }
            }
            .favorite {
                position: absolute;
                top: 18px;
                right: 18px;
                width: 40px;
                text-align: center;
                .icon-favorite {
                    display: block;
                    line-height: 24px;
                    font-size: 24px;
                    color: #d4d6d9;
                    &.active {
                        color: rgb(240,20,20);
                    }
                }
                .text {
                    display: block;
                    margin-top: 4px;
                    font-size: 10px;
                    line-height: 10px;
                    color: rgb(77,85,93);
                }
            }
        }
        .notice-activity {
            padding: 18px;
            h2 {
                font-weight: 700;
                font-size: 14px;
                line-height: 14px;
                color: rgb(7,17,27);
                margin-bottom: 8px;
            }
            .notice {
                font-weight: 200;
                font-size: 12px;
                line-height: 24px;
                color: rgb(240,20,20);
                padding-left: 12px;
                margin-bottom: 16px;
            }
            .support-list {
                .support-item {
                    padding: 16px 12px;
                    font-size: 0;
                    .border-1px(rgba(7,17,27,.1));
                    &:after {
                        top: 0;
                    }
                    .icon {
                        display: inline-block;
                        width: 16px;
                        height: 16px;
                        vertical-align: top;
                        margin-right: 6px;
                        background-size: 16px 16px;
                        background-repeat: no-repeat;
                        &.decrease {
                            .bg-image('decrease_4');
                        }
                        &.discount {
                            .bg-image('discount_4');
                        }
                        &.guarantee {
                            .bg-image('guarantee_4');
                        }
                        &.invoice {
                            .bg-image('invoice_4');
                        }
                        &.special {
                            .bg-image('special_4');
                        }
                    }
                    .text {
                        font-weight: 200;
                        font-size: 12px;
                        line-height: 16px;
                        color: rgb(7,17,27);
                    }
                }
            }
        }
        .seller-pics {
            padding: 18px;
            h2 {
                font-weight: 700;
                font-size: 14px;
                line-height: 14px;
                color: rgb(7,17,27);
                margin-bottom: 12px;
            }
            .pic-wrapper {
                width: 100%;
                overflow: hidden;
                white-space: nowrap;
                ul {
                    font-size: 0;
                    li {
                        display: inline-block;
                        margin-right: 6px;
                        width: 120px;
                        height: 90px;
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
            }
        }
        .seller-infos {
            padding: 18px;
            h2 {
                font-weight: 700;
                font-size: 14px;
                line-height: 14px;
                color: rgb(7,17,27);
                margin-bottom: 12px;
            }
            .support-list {
                .support-item {
                    padding: 16px 12px;
                    font-weight: 200;
                    font-size: 12px;
                    line-height: 16px;
                    color: rgb(7,17,27);
                    .border-1px(rgba(7,17,27,.1));
                    &:after {
                        top: 0;
                    }
                }
            }
        }
    }
}